/**typeof */
console.log(typeof 100, typeof NaN);
console.log(typeof '', typeof String(123));
console.log(typeof true);
console.log(typeof undefined);
var func = function name(params) { }
console.log(typeof func, typeof String);
console.log(typeof new Object, typeof new String(),typeof [1, 2], typeof null );
console.log();
/**instanceof基于原型链 */
console.log([1, 2] instanceof Array,new String() instanceof Object,null instanceof Object);
console.log();
/**toString */
console.log(Object.prototype.toString.apply([]));
console.log(Object.prototype.toString.apply(function name(params) {}));
console.log(Object.prototype.toString.apply(null));
console.log(Object.prototype.toString.apply(undefined));
